// 引用网络请求中间件
import request from '../../utils/request.js';







export default {

	/**
	 * @param {Object} data
	 *  "consultationSuggestion": "string",
	 *  "description": "string",
	 *   "diagnose": "string",
	 *   "isLongtime": false,
	 *  "isMoveDifficult": false,
	 *   "medicationSuggestion": "string",
	 * 	"productList":'obj'
	 *   "userid": "string"
	 */
	setPrescription(data) {
		return request({
			url: `/prescriptionApi/add`,
			method: 'POST',
			data
		})
	},

	login(data) {
		return request({
			url: `/app/login`,
			method: 'POST',
			data
		})
	}
}